<!DOCTYPE html>
<html>
<head>
  <meta	charset="utf-8"/>
  <title>WSX Live Webcam</title>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
  <canvas id="video-canvas"></canvas>
  <script src="jsmpeg.min.js"></script>
  <script type="text/javascript">
    var canvas = document.getElementById('video-canvas');
    var url = 'wss://'+document.location.host+'/streamsocket';
    var player = new JSMpeg.Player(url, {canvas: canvas});
  </script>
</body>
</html>
